using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class PT_FormEntity:AF_ORM.CORE.BaseEntity
    {
         public PT_FormEntity()
         {
             tableName = "PT_Form";


			 fieldInfos.Add(new FieldInfo("PT_Form","FormName","FormName","string",100,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_Form","FormTitle","FormTitle","string",1000,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_Form","OrderIndex","OrderIndex","int",0,false,true,false,false,"","",""));
         }
       //properties
                    
		 protected string m_FormName;
		 protected string m_FormTitle;
		 protected int m_OrderIndex;

		 public string FormName

          { 
                get { 
                    return m_FormName;}

                set{m_FormName=value;

                    GetField("FormName").Set();
                    GetField("FormName").IsNull=(value == null);           
                    }
          }
		 public string FormTitle

          { 
                get { 
                    return m_FormTitle;}

                set{m_FormTitle=value;

                    GetField("FormTitle").Set();
                    GetField("FormTitle").IsNull=(value == null);           
                    }
          }
		 public int OrderIndex

          { 
                get { 
                    return m_OrderIndex;}

                set{m_OrderIndex=value;

                    GetField("OrderIndex").Set();
                    GetField("OrderIndex").IsNull=(value == null);           
                    }
          }

}
}
